Carbon


EndThemeDragSound

Header: Appearance.h Carbon status: Supported

Terminates the playing of a sound associated with the user’s movement of a given interface object.

OSStatus EndThemeDragSound ();
function result

A result code.

DISCUSSION

The Appearance Manager automatically starts and stops drag sounds for standard user interface elements and for Drag Manager drag actions. Your application may call BeginThemeDragSound, typically upon detecting a drag initiation, to play a drag sound for a custom element. Call the EndThemeDragSound function to turn off a drag sound when the drag is completed, typically upon receipt of a mouse-up event.

VERSION NOTES

This function is available with Appearance Manager 1.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)